#ifndef SUBJECT_H
#define SUBJECT_H

#include "Observer.h"
#include <list>

class Subject{
public:
    virtual ~Subject();
	void registerObserver(Observer *ob);
	void removeObserver(Observer *ob);
	void notifyObserves();

private:
    std::list<Observer *> observers;
};

#endif